//
//  NSString+JudgeString.h
//  CarLifes
//
//  Created by yu on 2017/8/10.
//  Copyright © 2017年 jpas. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (JudgeString)

// 正则验证手机号是否有效
+ (BOOL)valiMobile:(NSString *)mobile;

// 判断是否同时包含数字、字符和无效字符
+ (BOOL)judgePassWord:(NSString *)string;

+ (NSDate *)StringToNSDate:(NSString *)timeStr;

// 时间戳转字符串
+ (NSString *)NSDateToString:(NSString *)timeStr;

// 正则验证邮箱是否有效
+ (BOOL)valiEmail:(NSString *)email;

@end
